/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rainbow;

import java.util.HashMap;
import java.util.Map;
import java.util.SortedSet;
import java.util.TreeSet;

/**
 *
 * @author hironaga
 */
public class RainSamp01 {

    public static void main(String[] args) {

        Map<Integer, String> smap = new HashMap<Integer, String>();
        smap.put(120, "002");
        smap.put(100, "001");
        smap.put(120, "003");
        
        SortedSet<Integer> smapIndex = new TreeSet<Integer>();
        smapIndex.add(120);
        smapIndex.add(100);
        smapIndex.add(120);

        for(int i : smapIndex){
            System.out.println(i);
        }

    }
}
